<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>推广中心</title>
    <script src="__INDEX__/js/mui.min.js"></script>
    <link href="__INDEX__/css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__INDEX__/css/iconfont.css" />
    <link rel="stylesheet" href="__INDEX__/css/style.css" />
    <link rel="stylesheet" href="__INDEX__/css/yund.css" />
</head>
<body>
	<header class="mui-bar mui-bar-nav zj_nav">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	    <h1 class="mui-title">推广中心</h1>
	</header>
	<div class="mui-content" style="padding-bottom:0;">
	    <div class="tuig_top">
	    	<div class="ewmbox">
	    		<div id="qrcode">	    	
	    		</div>
	    	</div>
	    </div>
	    <div class="tuig_item">
	    	<div class="bt">下级会员列表</div>
	    	<ul class="tuig_hylist">
	    		{volist name='list' id='vo' empty="没有数据"}
	    		<li class="clearfix">
	    			<div class="namebox">
	    				<p>{$vo.user_name}</p>
	    				<p class="name">{$vo.mobile}</p>
	    			</div>
	    			<div class="time">{$vo.add_time}</div>
	    		</li>
	    		{/volist}
	    	</ul>
	    </div>
	    
	</div>
	{include file="public/footer" /}
</body>
</html>
<script src="__INDEX__/js/jquery.qrcode.js"></script>
<script src="__INDEX__/js/utf.js"></script>
<script type="text/javascript">
	var url = "index/index/regist/fromuid/{$data.user_id}.html";
	var img = "{$data.logo}";
	 $("#qrcode").qrcode({
        render 		: "canvas",    		//设置渲染方式，有table和canvas，使用canvas方式渲染性能相对来说比较好
        text 		: url, //扫描二维码后显示的内容,可以直接填一个网址，扫描二维码后自动跳向该链接
        src			: img,
        width 		: "200",    	//二维码的宽度
        height 		: "195",    	//二维码的高度
        background 	: "#ffffff",    //二维码的后景色
        foreground 	: "#000000",    //二维码的前景色
    });
 </script>  